package com.xiongtian.springframework.aop;

import java.lang.reflect.Method;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-17  11:38
 * @Version: 1.0
 * @Description:
 * Part of a {@link Pointcut}: Checks whether the target method is eligible for advice.
 * 方法匹配，找到表达式范围内匹配的目标类和方法
 */

public interface MethodMatcher {

    /**
     * Perform static checking whether the given method matches. If this
     * @return whether or not this method matches statically
     */
    boolean matches(Method method, Class<?> targetClass);

}
